package com.swt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.swt.domain.Permission;

import java.util.List;

/**
* @author 苏
* @description 针对表【yesapi_mall_ums_permission(电商-后台用户权限表)】的数据库操作Service
* @createDate 2022-05-16 15:21:33
*/
public interface PermissionService {
    List<Permission> selectAllPermission();
    int delectPermission (String id);
    int updatePermission (Permission Permission);
    int inserPermission(Permission Permission );
    Permission selectbyPermission(String id);
    Page<Permission> pagePermission(Integer page, Integer start);
}
